.todo {
  position: relative;
  width: 80%;
  margin: 50px auto 0;
  padding: 20px;
}

.todo-form {
  display: flex;
}

.todo-input {
  flex: 1;
  height: 30px;
  border: 1px solid #999;
  box-sizing: border-box;
  outline: none;
}

.todo-list {
  margin-top: 20px;
}

.todo-item {
  display: flex;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #666;
}

.todo-item:last-child {
  border-bottom: none;
}

.todo-item-text {
  flex: 1;
}